package com.paas.form.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.paas.common.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("form_master_apply")
@ApiModel(value="FormMasterApply对象", description="")
public class FormMasterApplyEntity extends BaseModel {
	
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value = "主键")
	@TableId
	private String id;

	@ApiModelProperty(value = "视图id")
	@TableField("view_id")
	private String viewId;

	@ApiModelProperty(value = "申请人id")
	@TableField("apply_user_id")
	private String applyUserId;

	@ApiModelProperty(value = "申请人名称")
	@TableField(exist = false)
	private String applyUserName;

	@ApiModelProperty(value = "申请部门id")
	@TableField("apply_org_id")
	private String applyOrgId;

	@ApiModelProperty(value = "业务状态 10 发起 20驳回 3哦通过")
	@TableField("biz_status")
	private String bizStatus;

	@ApiModelProperty(value = "创建部门id")
	@TableField("org_id")
	private String orgId;

	@ApiModelProperty(value = "创建人")
	@TableField("create_id")
	private String createId;

	@ApiModelProperty(value = "修改人")
	@TableField("modify_id")
	private String modifyId;

	@ApiModelProperty(value = "数据状态")
	@TableField("status")
	private String status;

	@ApiModelProperty(value = "应用id")
	@TableField("app_id")
	private String appId;

	@ApiModelProperty(value = "说明")
	@TableField("remark")
	private String remark;

	@ApiModelProperty(value = "数据类型")
	@TableField("data_type")
	private String dataType;

	@ApiModelProperty(value = "条件配置")
	@TableField("condition_form")
	private String conditionForm;

	@ApiModelProperty(value = "分发配置id")
	@TableField("distribution_id")
	private String distributionId;


	@ApiModelProperty(value = "分发类型")
	@TableField("distribution_type")
	private String distributionType;


/*--------------------------------------------------------待删除字段---------------------------------------------------------------------*/

	@ApiModelProperty(value = "视图名称")
	@TableField(exist = false)
	private String viewName;

}